package com.monlyu.vo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import com.monlyu.annotation.Comment;

/*******************************************************************************
 * 
 * <b>功能描述☞</b>编辑方案审核表<br>
 * 
 * <b>开发公司☞</b>重庆唯尼科技有限公司<br>
 * <b>版权☞</b>本文件归重庆唯尼科技有限公司所有<br>
 * <b>项目名☞</b>news_cd<br>
 * <b>文件路径☞</b>com.monlyu.vo.SolutionReview.java<br>
 * <b>开发日期☞</b>2011-6-25 <br>
 * 
 * @author chendan
 * @since JDK 5
 * @version 1.0.8
 * 
 ******************************************************************************/
@Entity(name = "t_solutionreview")
public class SolutionReview extends BaseVo {
	@Id
	@Column(name = "s_id")
	@Comment(common = "编号")
	private Long id;

	@ManyToOne
	@JoinColumn(name = "s_solution")
	@Comment(common = "编辑方案")
	private Solution solution;

	@Column(name = "s_auditDate")
	@Comment(common = "审核时间")
	private Date auditDate;

	@Column(name = "s_level")
	@Comment(common = "审核级别:1一审，2二审，3三审")
	private int level;

	@ManyToOne
	@JoinColumn(name = "s_auditUser")
	@Comment(common = "审核人")
	private User auditUser;

	@Column(name = "s_auditRemark", length = MAX_VCHAR_MYSQL)
	@Comment(common = "审核意见")
	private String auditRemark;

	@Column(name = "s_result")
	@Comment(common = "审核结果：1通过，2不通过,3审核完毕")
	private int result;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Solution getSolution() {
		return solution;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public void setSolution(Solution solution) {
		this.solution = solution;
	}

	public Date getAuditDate() {
		return auditDate;
	}

	public void setAuditDate(Date auditDate) {
		this.auditDate = auditDate;
	}

	public User getAuditUser() {
		return auditUser;
	}

	public void setAuditUser(User auditUser) {
		this.auditUser = auditUser;
	}

	public String getAuditRemark() {
		return auditRemark;
	}

	public void setAuditRemark(String auditRemark) {
		this.auditRemark = auditRemark;
	}

	public int getResult() {
		return result;
	}

	public void setResult(int result) {
		this.result = result;
	}

}
